package bmf.xmlbinding;


import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "ComportamentoPapeis")
public class ComportamentoPapeis {

	private List<Papel> lsPapel;

	@Override
	public String toString() {
		StringBuilder s = new StringBuilder();
		if (lsPapel != null) {
			for (Papel papel : lsPapel) {
				s.append(papel.toString());
				s.append(System.getProperty("line.separator"));
			}
		}
		return s.toString();
	}

	@XmlElement(name = "Papel")
	public List<Papel> getLsPapel() {
		return lsPapel;
	}

	public void setLsPapel(List<Papel> lsPapel) {
		this.lsPapel = lsPapel;
	}
	
}
